package com.zs.games.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user_feedback")
@ApiModel(description = "用户反馈实体类")
public class UserFeedback {

    @ApiModelProperty(value = "反馈ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "反馈的ID，新闻ID，游戏ID，评论ID")
    private Integer feedbackId;

    @ApiModelProperty(value = "反馈类型，1:新闻 ，2:游戏，3:评论")
    private Integer type;

    @ApiModelProperty(value = "反馈内容")
    private String content;

    @ApiModelProperty(value = "反馈用户ID", example = "10001")
    private Integer userId;

    @ApiModelProperty(value = "反馈时间")
    private Date createTime;
}
